package cn.psvmc.cxzapi.mapper.order;

import cn.psvmc.cxzapi.config.mybatisplus.mapper.MyBaseMapper;
import cn.psvmc.cxzapi.model.order.TOrderContract;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 订单协议表 Mapper 接口
 * @Author auto
 * @Date 2024-08-12
 */
public interface TOrderContractMapper extends MyBaseMapper<TOrderContract> {
    //订单协议列表
    List<Map<String, Object>> listContract(@Param("orderId") Integer orderId);

    //获取订单合同数量
    int getContractNumByOrderId(@Param("orderId") Integer orderId);
}
